﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace CeA.Reports.Atendimento.Web.inc.WebControls {
    public partial class MessageBoxTest : System.Web.UI.Page {
        protected void Page_Init(object sender, EventArgs e) {
            MessageBox.Command += new CeA.Reports.Atendimento.Web.WebControls.MessageBox.CommandEventHandler(MessageBox_Command);
        }

        void MessageBox_Command(object sender, CeA.Reports.Atendimento.Web.WebControls.MessageBoxEventArgs e) {
            lc.Text = e.Command.ToString();
        }
        
        protected void Page_Load(object sender, EventArgs e) {

        }


        protected void cmdPop_Click(object sender, EventArgs e) {
            MessageBox.pop("Bem Vindo", "Bom dia Senhores", CeA.Reports.Atendimento.Web.WebControls.MessageBoxButtoms.OK);
        }
    }
}
